/**
 * @Author: Sagan
 * @Date: 2020/12/29 23:33
 */
package arr

// 数组A中是否包含数组B

func IsContained(a, b []string) bool {
	for _, v := range b {
		if false == Includes(a, v) {
			return false
		}
	}
	return true
}

func IsContainedInt(a, b []int) bool {
	for _, v := range b {
		if false == IncludesInt(a, v) {
			return false
		}
	}
	return true
}

func IsContainedInt64(a, b []int64) bool {
	for _, v := range b {
		if false == IncludesInt64(a, v) {
			return false
		}
	}
	return true
}
